<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
  <div id="sidebar1">
  
<?php foreach ($menus as $menu){?>
<h3><?php echo $menu->nome;?> </h3>
<ul>
<?php foreach ($menu->submenus as $submenu){ ?>
	<li><?php echo html::anchor($submenu->link,$submenu->nome); ?></li>
<?php }?>
</ul>
<?php }?>

<?php 
foreach ($this->blocos as $bloco){
	$this->view->bloco->bloco = $bloco;
	echo $this->view->bloco; 
}
?>    
<!-- end #sidebar1 --></div>